home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 551-575 / disk_556 / scheme2c / sci.man < prev    next >
Text File  |  1992-05-06  |  5KB  |  198 lines

  1.  
  2.  
  3.  
  4. local                                                      SCI(1)
  5.  
  6.  
  7.  
  8.  
  9. NAME
  10.      sci - Scheme interpreter
  11.  
  12. SYNTAX
  13.      sci [ option ]
  14.  
  15. DESCRIPTION
  16.      The sci command invokes a Scheme interpreter.  The language
  17.      accepted by this interpreter is that defined in the essen-
  18.      tial portions of the _R_e_v_i_s_e_d_3 _R_e_p_o_r_t _o_n _t_h_e _A_l_g_o_r_i_t_h_m_i_c
  19.      _L_a_n_g_u_a_g_e _S_c_h_e_m_e, with minor constraints and some additions.
  20.      The Scheme interpreter is written in Scheme which has then
  21.      been compiled using the Scheme-to-C compiler, scc.
  22.  
  23. OPTIONS
  24.      These options are accepted by sci.
  25.  
  26.      -e             Echo text read from the standard input file
  27.                     on the standard output file.
  28.  
  29.      -emacs         Scheme interpreter is controlled by GNU
  30.                     emacs.
  31.  
  32.      -nh            Do not print the interpreter version header
  33.                     on the standard output file.
  34.  
  35.      -np            Do not prompt for input from the standard
  36.                     input file on the standard output file.
  37.  
  38.      -q             Do not print the result of each expression
  39.                     evaluation.
  40.  
  41.      -scgc   _s_t_a_t_f_l_a_g
  42.                     Enables garbage collection statistics.  If
  43.                     set to 1, then garbage collection statistics
  44.                     will be printed.  The default is 0, that will
  45.                     result in no statistics.
  46.  
  47.      -sch  _h_e_a_p     Define the size of the heap in megabytes.
  48.                     The default heap size is 4 MB.
  49.  
  50.      -schf  _h_e_a_p_f_i_l_e
  51.                     Define a file containing a saved heap image
  52.                     that is to be used to initialize the heap.
  53.  
  54.      -scl _p_e_r_c_e_n_t   Specifies the percent of the heap allocated
  55.                     after a generational garbage collection that
  56.                     will force a full collection.
  57.  
  58.      -scm  _m_a_i_n     Define the function that should be used
  59.                     instead of the predefined "main".  The
  60.  
  61.  
  62.  
  63.                                                                 1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SCI(1)                                                      local
  71.  
  72.  
  73.  
  74.                     function name must be entered in the correct
  75.                     case, i.e. letters typically upshifted.
  76.  
  77. ENVIRONMENT VARIABLES
  78.      The items controlled by -_s_c.. flags can also be controlled
  79.      by environment variables.  If both the flag and the environ-
  80.      ment variable are provided, then the flag's value will be
  81.      used.
  82.  
  83.      SCGCINFO       Controls the reporting of garbage collection
  84.                     statistics to the standard error file.  If
  85.                     set to 1, then garbage collection statistics
  86.                     will be printed.  The default setting is 0
  87.                     that will not print the statistics.
  88.  
  89.      SCHEAP         Defines the size of the heap in megabytes.
  90.                     The default heap size is 4 MB.
  91.  
  92.      SCHEAPFILE     Controls initialization of the heap from a
  93.                     saved heap image.  If supplied, then the heap
  94.                     will be loaded from the file.
  95.  
  96.      SCLIMIT        Defines the percent of the heap allocated
  97.                     after a generational garbage collection that
  98.                     will force a full collection.  The default is
  99.                     33.
  100.  
  101. FILES
  102.      The interpreter is one a.out file with the name _s_c_i.  All
  103.      files associated with the interpreter are found in the
  104.      directory .../_s_c_h_e_m_e_t_o_c/_s_c_r_t.
  105.  
  106. SEE ALSO
  107.      Harold Abelson and Gerald Jay Sussman with Julie Sussman,
  108.      _S_t_r_u_c_t_u_r_e _a_n_d _I_n_t_e_r_p_r_e_t_a_t_i_o_n _o_f _C_o_m_p_u_t_e_r _P_r_o_g_r_a_m_s, The MIT
  109.      Press.
  110.  
  111.      Jonathan Rees and William Clinger (Editors), _R_e_v_i_s_e_d_3 _R_e_p_o_r_t
  112.      _o_n _t_h_e _A_l_g_o_r_i_t_h_m_i_c _L_a_n_g_u_a_g_e _S_c_h_e_m_e, SIGPLAN Notices, V21,
  113.      #12, December 1986.
  114.  
  115.      R. Kent Dybvig, _T_h_e _S_C_H_E_M_E _P_r_o_g_r_a_m_m_i_n_g _L_a_n_g_u_a_g_e, Prentice
  116.      Hall, Inc.
  117.  
  118.      Daniel P. Friedman and Matthias Felleisen, _T_h_e _L_i_t_t_l_e
  119.      _L_I_S_P_e_r, MIT Press.
  120.  
  121.      Joel Bartlett, documentation files in .../_s_c_h_e_m_e_t_o_c/....
  122.  
  123.      scc(1)
  124.  
  125.  
  126.  
  127.  
  128.  
  129. 2
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. local                                                      SCI(1)
  137.  
  138.  
  139.  
  140. QUESTIONS, COMMENTS, AND COMPLAINTS
  141.      bartlett@decwrl.dec.com
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                 3
  196.  
  197.